package com.luoyulin.mvc.bean;

/**
 * @author luoyulin
 * @create 2022-01-22 21:54
 **/
public class User {
    String name;
    String password;
    String id;

    public void setName(String name) {
        this.name = name;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public String getPassword() {
        return password;
    }

    public String getId() {
        return id;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", id='" + id + '\'' +
                '}';
    }

    public User(String name, String password, String id) {
        this.name = name;
        this.password = password;
        this.id = id;
    }
}
